package com.ziyun.pop.modules.storeMaterials.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ziyun.pop.modules.storeMaterials.dao.ErpStockDao;
import com.ziyun.pop.modules.storeMaterials.entity.ErpStockEntity;
import com.ziyun.pop.modules.storeMaterials.service.ErpStockService;
import org.springframework.stereotype.Service;

/**
 * @Author ZhaoWei
 * @Date 2018/11/24 09:18
 * @Version V1.0
 */

@Service("erpStockService")
public class ErpStockServiceImpl extends ServiceImpl<ErpStockDao,ErpStockEntity> implements ErpStockService {
	@Override
	public Integer getStockId(long sellerId) {
		return baseMapper.getStockId(sellerId);
	}

	@Override
	public String getStockName(Integer stockByOutId) {
		return baseMapper.getStockNameByOutId(stockByOutId);
	}

}
